package com.guoxue.service;

import java.util.List;

import com.guoxue.domain.PlanProgressVo;

public interface IPlanProgressService {

	public List<PlanProgressVo> getUserPlans(int id);

	public PlanProgressVo getPlanByUserAndPlanId(int id, int planId);

	public void savePlan(PlanProgressVo plan);

	public List<PlanProgressVo> getUserPlansByPlanId(int id, int beginPlanId, int endPlanId);

	public int getReadersCount(int id, int begin, int end);
	//按用户id以及计划id获取对应计划进度
	public PlanProgressVo getUserPlanByUidAndPlanId(int id, int planId);
	//按轮数获取当前该轮数计划人数
	public int getCount(int readRound);
	//获取大于等于当前轮数用户
	public int getCompleteCount(int currentReadRound,int currentReadCount);

}
